package com.ktjiaoyu.mapper;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    public int insert(StorageRecord storageRecord);

    public int update(StorageRecord storageRecord);

    public StorageRecord getBySrCode(String srCode);

    public List<StorageRecord> getPage(@Param("entity")StorageRecord entity, @Param("offset") Integer offset, @Param("pageSize")Integer pageSize);

    public Long count(@Param("entity") StorageRecord entity);

    public StorageRecord getById(Long id);

    public int deleteById(Long id);
}
